package com.mycat.manager.content.shiro;

import org.apache.shiro.authc.DisabledAccountException;

/**
 * 账户状态异常
 * @author roger.
 * @email luojie@yzworld.cn
 * @date 2016/10/26
 */
public class AccountStateException extends DisabledAccountException {
    /**
     * Creates a new AccountStateException.
     */
    public AccountStateException() {
        super();
    }

    /**
     * Constructs a new AccountStateException.
     *
     * @param message the reason for the exception
     */
    public AccountStateException(String message) {
        super(message);
    }

    /**
     * Constructs a new AccountStateException.
     *
     * @param cause the underlying Throwable that caused this exception to be thrown.
     */
    public AccountStateException(Throwable cause) {
        super(cause);
    }

    /**
     * Constructs a new AccountStateException.
     *
     * @param message the reason for the exception
     * @param cause   the underlying Throwable that caused this exception to be thrown.
     */
    public AccountStateException(String message, Throwable cause) {
        super(message, cause);
    }
}
